package patternrecognition.symbols;

import java.util.List;

import patternrecognition.symbols.forms.Rectangle;

public class I extends Symbol {

	@Override
	public String getID() {
		return "I";
	}

	@Override
	protected boolean isSymbol(final List<Rectangle> rectangles) {
		if (rectangles.size() == 1) {
			return rectangles.get(0).isFilled();
		}
		return false;
	}

	@Override
	protected Object clone() throws CloneNotSupportedException {
		return new I();
	}
}
